package com.java110.mall.api.service;

import com.alibaba.fastjson.JSONObject;
import com.java110.dto.privilege.PrivilegeUserDto;
import com.java110.dto.shop.ShopDto;
import com.java110.dto.user.StoreStaffDto;

import java.util.List;
import java.util.Map;

public interface IGetCommunityStoreInfoSMO {

    StoreStaffDto getStoreInfo(String userId);

    List<ShopDto>  getStoreEnterShops(String storeId, String storeTypeCd);

    /**
     * 查询用户权限
     *
     * @param storeId
     * @param storeTypeCd
     * @return
     */
    List<PrivilegeUserDto> getUserPrivileges(String storeId, String storeTypeCd);


    List<Map> checkUserHasResourceListener(JSONObject paramIn, String cacheKey);
}
